<div>
	<form method="post" id="form_${action_id}" name="form_${action_id}" >
    <table class="form-table" cellpadding=3>
        <tr>
            <td>${action.getDatagridTitle('name')}:</td>
            <td><input id="entity.name" name="entity.name" type="text"  class="easyui-validatebox"   data-options="required:true,validType:'length[0,64]'"   /></td>
            <td>${action.getDatagridTitle('subName')}:</td>
            <td><input id="entity.subName" name="entity.subName" type="text" class="easyui-validatebox"  data-options="validType:'length[0,64]'" /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('password')}:</td>
            <td><input id="entity.password" name="entity.password" type="password" class="easyui-validatebox" data-options="required:true,validType:'length[0,16]'" /></td>
            <td>${action.getText('form.confirm.pwd')}:</td>
            <td><input id="repassword" name="repassword" type="password" class="easyui-validatebox"  data-options="required:true,validType:'length[0,16]'"  /></td>
        </tr>
        <tr>
            <td>手机:</td>
            <td><input id="entity.phone" name="entity.phone" type="text" class="easyui-validatebox"  required="true"  data-options="required:true,validType:'length[0,11]'" /></td>
            <td>地址:</td>
            <td><input id="entity.address" name="entity.address" type="text" class="easyui-validatebox" data-options="validType:'length[0,32]'"  /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('state')}:</td>
            <td>
            	<select id="entity.state" name="entity.state"  class="easyui-combobox" data-options="required:true" >
            		<#list states as state>
            		<option value="${state.key}">${action.getDatagridTitle('state.'+state.name())}</option>
            		</#list>
            	</select>
            </td>
        </tr>
    </table>
	</form>
</div>
